package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.SangerCxq;
import com.zhijian.medical.entity.vo.request.SangerCxqSearchVo;
import com.zhijian.medical.entity.vo.response.SangerCxqVo;

import java.util.List;

public interface SangerCxqMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SangerCxq record);

    int insertSelective(SangerCxq record);

    SangerCxq selectByPrimaryKey(Long id);

    /**
     * 实验id查询
     *
     * @param sangerId
     * @return
     */
    SangerCxq selectBySangerId(Long sangerId);

    int updateByPrimaryKeySelective(SangerCxq record);

    int updateByPrimaryKey(SangerCxq record);

    int count(SangerCxqSearchVo sangerCxqSearchVo);

    List<SangerCxqVo> selectList(SangerCxqSearchVo sangerCxqSearchVo);

    SangerCxqVo selectVoById(Long id);

    /**
     * 根据实验id查询vo
     *
     * @param sangerId
     * @return
     */
    SangerCxqVo selectVoBySangerId(Long sangerId);
}